package com.xjnt.tvos.tvlibs.jsbridge.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *
 * 此注释标记参数
 *
 * Created by caoyong on 18-1-4.
 */

@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface Param {
    enum ParamType { CALLBACK, STATUS, DATA }

    ParamType type() default ParamType.DATA;
    String value() default "";
}
